include "config.php"; ?>
$codigo=$_GET['codigo'];
$sql01a = "SELECT * FROM `noticias` where `codigo`='$codigo'";
$rst01a = mysql_query($sql01a);
while ($linha_01a=mysql_fetch_array($rst01a))
{
$titulo=$linha_01a['titulo'];
$autor=$linha_01a['autor'];
$data=$linha_01a['data'];
$texto=$linha_01a['texto'];
$legenda=$linha_01a['legenda'];
$imagem=$linha_01a['grande'];
}
$texto = str_replace("\n", "
", $texto);
?>
Chácara Estância
.jpg" width="770" height="264" border="0" usemap="#Map" /> |
|
| |
 |
echo $data; ?>
echo $titulo; ?>
if ($imagem != "") { ?>
echo $legenda; ?>
} ?>
echo $texto; ?>
Fonte: echo $autor; ?>
|
|
| « voltar |
|
|
|
| include "rodape.php"; ?> |
|
|